/**
 * Commands.java
 *
 * @author Andrew Moss 
 * 
 * Created on 1 Oct 2010
 */
package com.mossdev.android.moteapp.comms;

/**
 * This class contains constant strings used in the interface between the
 * android application and the server on the linux pc.
 * 
 * @author Andrew Moss
 *
 */
public final class Commands {
	
	//Cancels the session
	public static final String CLOSE_CONNECTION = "close";
	
	//LIRC commands
	//------------------------------------------------
	public static final String PAUSE = "pause"; 
	public static final String STOP = "stop"; 
	public static final String FAST_FORWARD = "fastforward"; 
	public static final String RECORD = "record"; 
	public static final String REWIND = "rewind"; 
	public static final String SKIP_BACK = "skipback"; 
	public static final String SKIP_FORWARD = "skipforward"; 
	public static final String PLAY = "play"; 
	public static final String INFO = "info"; 
	public static final String START = "start";
	public static final String CLEAR = "clear";
	public static final String ENTER = "enter";
	public static final String BACK = "back";
	public static final String VOLUME_UP = "volumeup"; 
	public static final String VOLUME_DOWN = "volumedown";
	public static final String CHANNEL_UP = "chanup";
	public static final String CHANNEL_DOWN = "chandown";
	public static final String MUTE = "mute";
	public static final String RECORD_TV = "record_tv";
	public static final String WATCH_TV = "watch_tv";
	public static final String GUIDE = "guide";
	public static final String DVD = "dvd";
	public static final String TELETEXT = "teletext";

	public static final String ZERO = "0";
	public static final String ONE = "1";
	public static final String TWO = "2";
	public static final String THREE = "3";
	public static final String FOUR = "4";
	public static final String FIVE = "5";
	public static final String SIX = "6";
	public static final String SEVEN = "7";
	public static final String EIGHT = "8";
	public static final String NINE = "9";
	
	public static final String STAR = "*";
	public static final String HASH = "hash";

	public static final String RED = "red";
	public static final String YELLOW = "yellow";
	public static final String BLUE = "blue";
	public static final String GREEN = "green";
	
	//These five could be used by a touch pad interface
	public static final String UP = "up"; 
	public static final String LEFT = "left"; 
	public static final String RIGHT = "right"; 
	public static final String DOWN = "down"; 
	public static final String SELECT = "select";
	
	//------------------------------------------------
	
	public static final String CUSTOM1 = "custom1"; 
	public static final String CUSTOM2 = "custom2"; 
	public static final String CUSTOM3 = "custom3"; 
	public static final String CUSTOM4 = "custom4";
	
	//------------------------------------------------
	
	//pointer and keyboard command strings
	public static final String PREFIX_MOUSE_M = "POINTER MOVE "; 
	public static final String PREFIX_MOUSE_CLICK = "POINTER CLICK ";
	public static final String PREFIX_MOUSE_DOWN = "POINTER DOWN ";
	public static final String PREFIX_MOUSE_UP = "POINTER UP ";
	public static final String MOUSE_CLICK_L = PREFIX_MOUSE_CLICK + "L";
	public static final String MOUSE_DOWN_L = PREFIX_MOUSE_DOWN + "L";
	public static final String MOUSE_UP_L = PREFIX_MOUSE_UP + "L";
	public static final String MOUSE_CLICK_R = PREFIX_MOUSE_CLICK + "R";
	public static final String MOUSE_DOWN_R = PREFIX_MOUSE_DOWN + "R";
	public static final String MOUSE_UP_R = PREFIX_MOUSE_UP + "R";
	public static final String MOUSE_CLICK_M = PREFIX_MOUSE_CLICK + "M";
	public static final String MOUSE_DOWN_M = PREFIX_MOUSE_DOWN + "M";
	public static final String MOUSE_UP_M = PREFIX_MOUSE_UP + "M";
	
	public static final String PREFIX_KEY = "KEYBOARD "; 
	
}
